import request from '@/utils/request.js'

// 获取课程列表
export function selectCourse(data) {
	return request({
		url: '/homepage-service/course/selectCourse',
		method: 'GET',
		data: data
	})
}
// 获取课程类别列表
export function selectCourseCategory(campusId) {
	const data = {
		campusId: campusId
	}
	return request({
		url: '/homepage-service/course/selectCourseCategory',
		method: 'GET',
		data: data
	})
}
